import Vue from 'vue'
import App from './App.vue'
// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import router from './router'
// 引入reset.css
import '@/assets/style/reset.css'

import '@/assets/font/iconfont.css'
// 引入echarts
import *as echarts from 'echarts'
Vue.prototype.$echarts = echarts

Vue.prototype.$bus = new Vue()

import Panel from '@/components/panel/Panel.vue'
Vue.use(ElementUI);
Vue.component('panel', Panel)

Vue.config.productionTip = false

// Vue.prototype.$echarts = echarts
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
